CHUNK_SIZE = 400
M = 2048
EFC = 1000
temp = {'bge': 1024, 'zpoint': 1792}
VEC_TYPE = 'bge'
VEC_DIM = temp[VEC_TYPE]
TABLE_NAME = 'state_grid'

"""Milvus 的配置参数"""
CONTEXT_LIMIT=20
MILVUS_URL = 'http://localhost:19530'
METRIC_TYPE = 'IP'  # 向量匹配参数
DENSE_INDEX_TYPE = 'HNSW'  # KNN索引方式
SPARSE_INDEX_TYPE = 'SPARSE_INVERTED_INDEX'
COLLECTION_NAME = f'{DENSE_INDEX_TYPE}_size{CHUNK_SIZE}_{VEC_TYPE}_efc{EFC}_m{M}'  # 数据集合名称

"""Meilisearch 的配置参数"""
MSH_URL = 'http://127.0.0.1:7700'
MSH_API_KEY = 'LWBLqfHJ2Mbqc-fjuROcTPuG-FBdvp7NOhXMx7eDxXc'
INDEX_NAME = 'state_grid_retrival4'
